package com.tywj.module.h5.client

import com.tencent.smtt.sdk.WebChromeClient
import com.tencent.smtt.sdk.WebView
import com.tywj.module.interfaces.IH5View

/**
 *
 */
class MyWebChromeClient(private val h5View: IH5View) : WebChromeClient() {

    //监听进度
    override fun onProgressChanged(view: WebView, progress: Int) {
        super.onProgressChanged(view, progress)
        h5View.onProgressChanged(progress)
    }
}